package com.wan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author vicente
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GameAnnouncement extends Model<GameAnnouncement> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    /**
     * 封面
     */
    private String cover;

    /**
     * 内容
     */
    private String content;

    private String auth;

    private String createTime;

    private String introduction;

    private String keyword;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
